export class ListNode {
	public val: number | undefined
	public next: ListNode | null

	constructor(val: number | undefined = 0, next: ListNode | null = null) {
		this.val = val
		this.next = next
	}
}

export interface TreeNode {
	val: any
	left?: TreeNode | undefined
	right?: TreeNode | undefined
}
